Uncanny_Automator\Api_Server B

Total Complexity 81
Dependencies 3
Dependents 37
Total lines 624
Lines of code 331
Logical lines of code 180
Comment lines 148
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
maybe_throw_exception()
A
55 8 17
api_call()
S
49 6 29
maybe_log_trigger()
S
52 5 23
maybe_log_action()
S
54 5 20
is_automator_connected()
S
57 5 18
get_item_name()
S
59 5 14
call()
S
52 4 24
maybe_add_optional_params()
S
52 3 27
get_license()
S
54 3 21
get_license_type()
S
66 4 8
add_api_headers()
S
61 3 12
get_response_credits()
S
64 3 10
get_response_body()
S
67 3 7
has_valid_license()
S
66 3 7
has_credits()
S
63 3 10
filter_params()
S
63 3 10
add_endpoint_parts()
S
66 2 8
get_instance()
S
71 2 6
create_payload()
S
64 2 10
get_response_code()
S
72 2 6
add_trigger_meta()
S
60 1 13
charge_usage()
S
61 1 13
add_log()
S
80 1 3
set_instance()
S
80 1 3
get_license_key()
S
74 1 4
get_site_name()
S
78 1 3
__construct()
S
70 1 5